package com.huanying.goodjob.advertisment;

import java.util.List;
import java.util.Map;

import com.huanying.framework.PageBean;


public interface AdvertismentService {
	public void add_ad(Advertisment advertisment) throws Exception; // 添加广告

	public void update_ad(Advertisment advertisment) throws Exception; // 更新广告

	public int delete_ad(int id) throws Exception; // 修改广告状态

	public PageBean search_ad(Map<String, Object> map, int pageSize, int page) throws Exception; // 查询广告

    public Advertisment get_ad(int id) throws Exception;
    
    public List<Advertisment> front_get_advertisment(Map<String,Object> map) throws Exception;
}
